Skip to content

Conversation

@kavon
Copy link
Member

@kavon kavon commented Dec 16, 2025

The scoping rule with SuppressedAssociatedTypes* is too eagerly complaining about invalid scopes. We'll diagnose invalid suppressions anyway in that case.

@kavon
Copy link
Member Author

kavon commented Dec 16, 2025

@swift-ci smoke test macOS

The generic parameter at the root of a DependentMemberType is
the main thing we care about in terms of the scoping rule.

We have a check for ineffective / invalid inverses in a later
phase, so if the suppression on the type member was wrong then
we should still raise an error about it.
@kavon kavon force-pushed the suppressed-assoc-types-with-defaults-3 branch from f6f8f11 to fbd51c0 Compare December 16, 2025 23:22
@kavon kavon marked this pull request as ready for review December 16, 2025 23:24
@kavon kavon requested a review from slavapestov as a code owner December 16, 2025 23:24
@kavon
Copy link
Member Author

kavon commented Dec 16, 2025

@swift-ci smoke test

@kavon kavon enabled auto-merge December 16, 2025 23:24
@kavon kavon merged commit 35a0a93 into swiftlang:main Dec 17, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant